if (do_name() != 'Home') : ?>
include("util/comment.php"); ?>
Reference | Transform
endif ?>Syntax | Transform() |
Description | A personal transformation state you can use to apply translation, rotation, scaling and skewing to a path before drawing it. |
Methods | t.translate(x=0, y=0) t.rotate(degrees=0, radians=0) t.scale(x=1, y=None) t.skew(x=0, y=0) t.invert() t.append(t) t.prepend(t) t.transformPoint(point) t.transformBezierPath(path) t.copy() See the tutorial on paths to learn more about the methods. The transformBezierPath() method returns a new path with the defined transformations applied to it. |